﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using VitCode.ObjectResolutionHelper;

namespace CRS.Core.Entities
{
    [OrMemo("消费信息")]
    public class CostItemInfo
    {
        public const string CT_ROOM_COST = "房间消费", CT_CAST_COST = "现金零售", CT_FREE = "免费赠送";

        [OrMemo("数据唯一标识")]
        public virtual Guid Id { get; set; }

        [OrMemo("货品Id")]
        public virtual Guid ExGoodsInfoId { get; set;}

        [OrMemo("数量")]
        public virtual int Quality { set; get;}

        [OrMemo("消费类型"),OrEnumDes(new []{CT_ROOM_COST,CT_CAST_COST,CT_FREE})]
        public virtual string CostType { get; set; }

        [OrMemo("回合Id")]
        public virtual Guid RoundInfoId { get; set; }

        [OrMemo("是否确认")]
        public virtual bool IsConfirm { get; set; }

        [OrMemo("消费时间")]
        public virtual DateTime CostDate { get; set; }

    }
}
